package pet;

import javax.jws.soap.SOAPBinding;

public class Dog extends Pet implements SwimBahavior,CatchMouseBahavior,LaBaBaBahavior,EatBaBaBahavior,RunBahavior{


    @Override
    public void catchMouse() {
        System.out.println("狗子偶尔也会抓老鼠");
    }

    @Override
    public void eatbaba() {
        System.out.println("狗狗也会自己吃粑粑");
    }

    @Override
    public void lababa() {
        System.out.println("狗子也会拉粑粑");
    }

    @Override
    public void run() {
        System.out.println("狗跑起来很快");
    }

    @Override
    public void swimba() {
        System.out.println("狗狗游泳会狗抛");
    }
}
